package com.cyh.core.framework.common.utils;

import java.util.UUID;

public class UUidUtil {

    public static String UUID() {
        return UUIDWithSeparator("");
    }

    public static String UUIDWithSeparator(String separator) {
        return UUID.randomUUID().toString().replaceAll("-", separator);
    }

    public static String DefaultUUid() {
        return UUID.randomUUID().toString();
    }
}
